package com.study.common.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @description: some desc
 * @author: LChuang
 * @date: 2023/11/13 13:48
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MqttMessageDto<T> {

    private String topic;

    private String content;

    private LocalDateTime date;

    private T data;
}
